package com.yd.domain.business;

import com.yd.domain.commom.DomainObject;

import java.util.Date;

/**
 * @author zy
 * @create 2018-03-07 9:10
 * @desc 感兴趣的商品
 **/
public class InterestGoods extends DomainObject<InterestGoods> {
    private String id;//主键id
    private String userId;//用户主键
    private String goodsId;//商品id
    private Date createTime;//生成时间

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "BusinessInterestGoods{" +
                "id='" + id + '\'' +
                ", userId='" + userId + '\'' +
                ", goodsId='" + goodsId + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
